package com.woniuxy.dao;

import java.util.List;

import com.woniuxy.pojo.SysPermission;

public interface SysPermissionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SysPermission record);

    int insertSelective(SysPermission record);

    SysPermission selectByPrimaryKey(Integer id);
    
    List<SysPermission> selectByRoleId(Integer roleId);

    int updateByPrimaryKeySelective(SysPermission record);

    int updateByPrimaryKey(SysPermission record);
}